import axios from '@/api/index'

function indexaction(data) {
    return axios({
        url: "search/indexaction",
        method: "GET",
        data,
    })
}

function helperaction(data) {
    return axios({
        url: "search/helperaction",
        method: "GET",
        data,
    })
}

function addhistoryaction(data) {
    return axios({
        url: "search/addhistoryaction",
        method: "POST",
        data,
    })
}

function clearhistoryAction(data) {
    return axios({
        url: "search/clearhistoryAction",
        method: "POST",
        data,
    })
}

export {
    indexaction,
    helperaction,
    addhistoryaction,
    clearhistoryAction
}